#include <stdio.h>
int main(int argc, char const *argv[])
{
    // 整数
    int a=15,b=9,c;
    double x=15,y=8,z;
    c=a+b;
    printf("c=%d\n",c);
    c=a-b;
    printf("c=%d\n",c);
    c=a*b;
    printf("c=%d\n",c);
    c=a/b;
    printf("c=%d\n",c);
    c=a%b;
    printf("c=%d\n",c);
    // 浮点数
    z=x+y;
    printf("z=%f\n",z);
    z=x-y;
    printf("z=%f\n",z);
    z=x*y;
    printf("z=%f\n",z);
    z=x/y;
    printf("z=%f\n",z);

    return 0;
}
